package com.lp;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by lp
 * 2017/11/7 10:25
 */
public interface GirlRepository extends JpaRepository<Girl,Integer> {
    //通过年龄查询
    public List<Girl> findByAge(Integer id);
}
